<template>
 <!-- <RouterView></RouterView> -->
 <el-container>
        <el-header>
          <el-row class="header" justify="space-between">
            <el-col :span="6" class="logo">
              <img src="./assets/logo.jpg" />
            </el-col>
            <el-col :span="6">
              <div class="grid-content ep-bg-purple-light" />
            </el-col>
            <el-col :span="6">
              <el-dropdown>
                <span class="el-dropdown-link">
                  <el-icon>
                    <User />
                  </el-icon> 唐三
                  <el-icon class="el-icon--right">
                    <arrow-down />
                  </el-icon>
                </span>
                <template #dropdown>
                  <el-dropdown-menu>
                    <el-dropdown-item>账户与安全</el-dropdown-item>
                    <el-dropdown-item>常见问题</el-dropdown-item>
                    <el-dropdown-item>关于我们</el-dropdown-item>
                    <el-dropdown-item divided command="logout">注销</el-dropdown-item>
                  </el-dropdown-menu>
                </template>
              </el-dropdown>
            </el-col>
          </el-row>
        </el-header>
        <el-container>
          <el-aside width="auto" height="100%">
            <Menu></Menu>
          </el-aside>
          <el-main>
            <RouterView></RouterView>
          </el-main>
        </el-container>
      </el-container>
</template>
<script>
import Menu from './components/Menu.vue';
export default {
  components: {
    Menu
  }
}
</script>

<style scoped>
body{
  margin: 0px;
  padding: 0px;
}

/* 头部 */
.header {
  background-color: #708090;
  height: 50px;
  padding-left: 0px;
  padding-right: 0px;
  margin: 0px;

}
.el-container{
  margin:0px;
  padding: 0px;
}

/* 企业标志图 */
.logo img {
  height: 49px;
  width: 200px;
}
.el-header {
  --el-header-height: 50px;
 --el-header-padding:0 0;
}
.el-main{
  padding: 0px;
}
/* 个人中心 */
.el-dropdown {
  float: right;
  padding-top: 15px;
  color: aliceblue;
}

</style>
